package com.harmontronics.hanma.paas.paas.dto.iam.output;

import com.harmontronics.hanma.paas.paas.domain.iam.entity.valueobject.MenuTargetEnum;
import com.harmontronics.hanma.paas.paas.domain.iam.entity.valueobject.MenuTypeEnum;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

import lombok.Data;

/**
 * 菜单
 *
 * @author paas-generator
 * @email paas-generator@harmontronics.com
 * @date 2021-04-10 10:37:26
 */
@Data
public class HmMenuResult {

    /**
     * $column.comments
     */
    @ApiModelProperty(value = "$column.comments")
    private Long id;
    /**
     * 菜单类型
     */
    @ApiModelProperty(value = "菜单类型")
    private MenuTypeEnum type;
    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "菜单名称")
    private String name;
    /**
     * 页面ID
     */
    @ApiModelProperty(value = "页面ID")
    private Long pageId;

    /**
     * 父级ID
     */
    @ApiModelProperty(value = "父级ID")
    private Long parentId;

    @ApiModelProperty(value = "页面名称")
    private String pageName;
    /**
     * 图标
     */
    @ApiModelProperty(value = "图标")
    private String icon;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer serialNum;
    /**
     * 打开方式
     */
    @ApiModelProperty(value = "打开方式")
    private MenuTargetEnum target;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createDate;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime modifyDate;
    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private String modifyBy;

    private String pathName;
}
